# stall cases
# test case s0
# stall
1
# flush
0
# branchtype
BR_BR
# memread
0
# memwrite
0
# memtype
MEM_W
# wb rd
10111
# wb write
0
# wb src
WBS_ALU
# pc_old
0100001010011001
# pc_new
0011000101111111
# aluresult
00111010110101111011010110110000
# wrdata
01100010111011101100001111100000
# zero
1
# mem busy
0
# mem rddata
00001010011000101110001100110100

# test case s1
# stall
1
# flush
0
# branchtype
BR_BR
# memread
0
# memwrite
0
# memtype
MEM_B
# wb rd
01110
# wb write
0
# wb src
WBS_OPC
# pc_old
0001001001100110
# pc_new
0100000111100001
# aluresult
01101100110101100001110011010111
# wrdata
01000011000000001011001011110111
# zero
1
# mem busy
0
# mem rddata
01010100010011110110011010010111

# test case s2
# stall
1
# flush
0
# branchtype
BR_NOP
# memread
0
# memwrite
0
# memtype
MEM_HU
# wb rd
11010
# wb write
1
# wb src
WBS_MEM
# pc_old
1010101110110000
# pc_new
0011001101010011
# aluresult
00011001001011010101001001000010
# wrdata
01010001010010010000100010100010
# zero
0
# mem busy
1
# mem rddata
00111101000010110011101000100001

# flush cases
# test case f0
# stall
0
# flush
1
# branchtype
BR_NOP
# memread
0
# memwrite
1
# memtype
MEM_B
# wb rd
10000
# wb write
0
# wb src
WBS_MEM
# pc_old
0100010100001111
# pc_new
0100110101100101
# aluresult
00010010000011010011100110101001
# wrdata
00110011101111101000011100011101
# zero
0
# mem busy
1
# mem rddata
00100111011111100010110110011111

# test case f1
# stall
0
# flush
1
# branchtype
BR_BR
# memread
1
# memwrite
0
# memtype
MEM_H
# wb rd
11010
# wb write
1
# wb src
WBS_OPC
# pc_old
0100010111111100
# pc_new
1100011000111001
# aluresult
00101001000111101101011011011001
# wrdata
01010010110000100100011110111011
# zero
0
# mem busy
1
# mem rddata
00101000001100001100101000000011

# test case f2
# stall
0
# flush
1
# branchtype
BR_CND
# memread
1
# memwrite
0
# memtype
MEM_H
# wb rd
00010
# wb write
0
# wb src
WBS_OPC
# pc_old
1001011111100110
# pc_new
0101000011101110
# aluresult
00100010011111001101011000010110
# wrdata
01001010000010001001101100110100
# zero
1
# mem busy
1
# mem rddata
01011000000111001110100010011001
